<?php

namespace App\Enums\OpenShop\InvestmentPromotion;

use App\Models\OpenShop\InvestmentPromotion\OpenShopLocationModel;

trait ShopLocationErrorTrait
{

    /**
     * @var int
     * @message 开店选址信息不存在,请核实后操作
     */
    public static int $SHOP_LOCATION_NOT_EXISTS = 4300001;

    /**
     * @var int
     * @message 新增开发选址数据失败
     */
    public static int $SHOP_LOCATION_ADD = 4300002;

    /**
     * @var int
     * @message orderNo不存在选址信息
     */
    public static int $ORDER_NO_ERR = 430003;

    /**
     * @var int
     * @message 选址信息已审批成功，无法反复操作
     */
    public static int $SITE_LOCATION_HAS_AUDIT = 430004;

    /**
     * @var int
     * @message location表的记录为空
     */
    public static int $LOCATION_EMPTY = 430005;

    /**
     * @var int
     * @message 选址已确认，无法提交
     */
    public static int $LOCATION_HAS_CONFIRM = 430006;

    /**
     * @var int
     * @message 选址参数错误
     */
    public static int $LOCATION_PARAM_ERR = 430007;

    /**
     * @var int
     * @message 可群分析至少需要填写一条
     */
    public static int $LOCATION_CUSTOMER_ANALYSIS_MUST_EXISTS = 430008;

    /**
     * @var int
     * @message 无权限审核
     */
    public static int $LOCATION_PLACEHOLDER_AUDIT_NO_ACCESS = 430009;

    /**
     * @var int
     * @message 未到审核阶段
     */
    public static int $LOCATION_PLACEHOLDER_NO_AUDIT_TIME = 430010;

    /**
     * @var int
     * @message 当前阶段不能编辑
     */
    public static int $LOCATION_PLACEHOLDER_NO_EDIT_TIME = 430011;

}
